package bean;

import base.BaseBean;
import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * @author Andlei
 * @date 2019/8/7.
 */
public class EvaluationBean extends BaseBean {


    /**
     * reply_info : [{"desc":"同学快跑"},{"desc":"同学快跑"},{"desc":"同学快跑"},{"desc":"同学快跑"},{"desc":"同学快跑"},{"desc":"同学快跑"},{"desc":"同学快跑"},{"desc":"同学快跑"},{"desc":"同学快跑"},{"desc":"同学快跑"}]
     * tag_info : [{"tag":"提前点送达","count":"3","score":"1"},{"tag":"服务态度差","count":"3","score":"1"},{"tag":"额外索取费用","count":"1","score":"1"},{"tag":"餐品翻洒","count":"1","score":"1"},{"tag":"配送慢","count":"1","score":"1"},{"tag":"送餐快","count":"1","score":"2"}]
     * evaluation_count : {"good":"6","bad":"4"}
     */

    private EvaluationCountBean evaluation_count;
    private List<ReplyInfoBean> reply_info;
    private List<TagInfoBean> tag_info;

    public EvaluationCountBean getEvaluation_count() {
        return evaluation_count;
    }

    public void setEvaluation_count(EvaluationCountBean evaluation_count) {
        this.evaluation_count = evaluation_count;
    }

    public List<ReplyInfoBean> getReply_info() {
        return reply_info;
    }

    public void setReply_info(List<ReplyInfoBean> reply_info) {
        this.reply_info = reply_info;
    }

    public List<TagInfoBean> getTag_info() {
        return tag_info;
    }

    public void setTag_info(List<TagInfoBean> tag_info) {
        this.tag_info = tag_info;
    }

    public static class EvaluationCountBean {
        /**
         * good : 6
         * bad : 4
         */

        private String good = "0";
        private String bad = "0";

        public String getGood() {
            return good;
        }

        public void setGood(String good) {
            this.good = good;
        }

        public String getBad() {
            return bad;
        }

        public void setBad(String bad) {
            this.bad = bad;
        }
    }

    public static class ReplyInfoBean {
        /**
         * desc : 同学快跑
         */

        private String desc;

        public String getDesc() {
            return desc;
        }

        public void setDesc(String desc) {
            this.desc = desc;
        }
    }

    public static class TagInfoBean {
        /**
         * tag : 提前点送达
         * count : 3
         * score : 1
         */

        private String tag;
        @SerializedName("count")
        private String countX;
        private String score;

        public String getTag() {
            return tag;
        }

        public void setTag(String tag) {
            this.tag = tag;
        }

        public String getCountX() {
            return countX;
        }

        public void setCountX(String countX) {
            this.countX = countX;
        }

        public String getScore() {
            return score;
        }

        public void setScore(String score) {
            this.score = score;
        }
    }
}
